import request from '@/utils/request'

// 获得API 访问日志分页
export function getTableList(data) {
  return request({
    url: "/member/praxis-type/page",
    method: "post",
    data
  });
}
// 删除
export function deleteAPI(id) {
  return request({
    url: "/member/praxis-type/delete",
    method: "delete",
    params: { id }
  });
}

// 新增
export function addAPI(data) {
  return request({
    url: "/member/praxis-type/create",
    method: "post",
    data
  });
}

// 删除
export function editAPI(data) {
  return request({
    url: "/member/praxis-type/update",
    method: "put",
    data
  });
}

// 删除
export function sortAPI(data) {
  return request({
    url: "/member/praxis-type/updateProjectTypeSort",
    method: "put",
    data
  });
}